#pragma once
#pragma execution_character_set("utf-8")
#include <QObject>
#include <QThread>
#include <QQueue>
class CThread  : public QObject
{
	Q_OBJECT

public:
	CThread(QObject *parent = nullptr);
	~CThread();


	void run();


public slots:

	void enqueue(QString str);

	void stratThread();

private:

	QThread *m_thread;
	QQueue<QString> m_queue;

};
